@ECHO ON

@ECHO                     ********************************
@ECHO                     ZIP SOFTPAY APPLICATION BINARIES
@ECHO                     ********************************



IF %1.==?.              GOTO :HELP
IF %1.==.               GOTO :HELP
IF %1.== .              GOTO :HELP
IF %1.==2.              GOTO :HELP


IF NOT EXIST \SOFTPAY\VER30\OUTPUT\%1 GOTO :HELP

\SOFTPAY\VER30\TOOLS\PKZIP -r -en -x@EXCLUDE. %1.zip

@GOTO :EXIT

:HELP
CLS
@ECHO.
@ECHO    ZIP SOFTPAY APPLICATION BINARIES FOR VERIX V SOFTPAY TERMINAL APPLICATION
@ECHO.
@ECHO.
@ECHO                           COMMAND LINE OPTIONS:
@ECHO                           *********************
@ECHO.
@ECHO.
@ECHO.          USAGE:
@ECHO           ******
@ECHO                  RELEASE.BAT [HOST NAME]
@ECHO                  [HOST NAME] IS 4 CHARACTERS
@ECHO.
@ECHO.
@GOTO :EXIT

:EXIT
@ECHO OFF

c:\softpay\ver30\tools\pkzip -r -en -x@exclude. CITI.Zip